package com.xiaoshuidi.cloud.module.bpm.convert.reserveticket;

import java.util.*;

import com.xiaoshuidi.cloud.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.xiaoshuidi.cloud.module.bpm.controller.admin.reserveticket.vo.*;
import com.xiaoshuidi.cloud.module.bpm.dal.dataobject.reserveticket.ReserveTicketDO;

/**
 * 预约工单 Convert
 *
 * @author 合房租赁
 */
@Mapper
public interface ReserveTicketConvert {

    ReserveTicketConvert INSTANCE = Mappers.getMapper(ReserveTicketConvert.class);

    ReserveTicketDO convert(ReserveTicketCreateReqVO bean);

    ReserveTicketDO convert(ReserveTicketUpdateReqVO bean);

    ReserveTicketRespVO convert(ReserveTicketDO bean);

    List<ReserveTicketRespVO> convertList(List<ReserveTicketDO> list);

    List<ReserveTicketExcelVO> convertList02(List<ReserveTicketDO> list);

    List<ReserveTicketRespVO> convert(List<ReserveTicketDO> records);
}
